package Springboot.service;

import Springboot.Utils.Result;
import Springboot.domain.NewsUser;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* @author mazhenxi
* @description 针对表【news_user】的数据库操作Service
* @createDate 2024-09-03 17:51:37
*/
public interface NewsUserService extends IService<NewsUser> {

    Result<NewsUser> login(NewsUser user);

    Result getUserInfo(String token);

    Result checkUserName(String username);

    Result regist(NewsUser newsUser);

    Result checkLogin(String token);
}
